Skip to content

Develop - #2

Merged
WAHID-QANDIL merged 6 commits into
masterfrom
develop
Jun 22, 2026
Merged

Develop#2
WAHID-QANDIL merged 6 commits into
masterfrom
develop

Conversation

@WAHID-QANDIL

Copy link
Copy Markdown
Owner

No description provided.

- Added `GetAllNewsUseCase` and `GetHeadlinesUseCase`
- Added custom `Result` sealed interface and utility extensions for state handling
- Added Ktor `HttpClient` extension to wrap network responses in `Result`
- Updated `NewsService` and `NewsRemoteDatasource` to return `Result` types
- Added Metro DI `DomainModule` for use case injection
- Updated repository implementation to handle new `Result` return types
- Deleted Greeting and GreetingUtil
- Deleted Platform interface and platform-specific implementations (Android and iOS)
- Added `AppNavigationHost` using Navigation3 UI and `NavDisplay`
- Defined navigation destinations in `StackEntries` and implemented `DestinationSavedStateSerializer`
- Updated `Article` entity and domain model with `source` and `isFavorite` fields
- Changed `ArticleEntity` primary key to `url`
- Integrated dependencies for Navigation3, Coil3, Metro ViewModel, and Lucide icons
- Added `MetroViewModelFactory` for dependency injection
- Refactored `Article` mappers and updated repository to filter empty URLs
- Added `AllNewsViewModel`, `AllNewsIntent`, and `AllNewsUIState` for state management
- Implemented `AllNewsScreen` with search functionality, category filtering, and loading/error states
- Updated `AppGraph` to include `GetAllNewsUseCase`, `GetHeadlinesUseCase`, and `AllNewsViewModel`
- Integrated `AppNavigationHost` in `App.kt` and configured `LocalMetroViewModelFactory`
- Add Navigation 3, Adaptive Navigation, and Metro ViewModel dependencies
- Integrate Coil for image loading and Lucide/Material Symbols icon libraries
- Implement reusable UI components: AppSearchBar, FeaturedCard, CategoryFilterRow, and Error/Empty states
- Add NewsTopBar, NewsBottomBar, and NewsTab navigation enum
- Define application color palette in Colors.kt
- Enable explicit-backing-fields compiler option
- Added android.yml to build and upload debug APKs
- Added ios.yml and build.yml to build and upload iOS simulator apps
- Configured build triggers for pull requests and manual dispatch
- Set up Gradle options and artifact uploading for build outputs
@WAHID-QANDIL
WAHID-QANDIL merged commit 848b5ab into master Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant